<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: /bb/mbigc/mbig5696/git/quantum_external/src/interface/quantum_itask.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d7/da5/quantum__itask_8h_source.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">quantum_itask.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">** Copyright 2018 Bloomberg Finance L.P.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">**</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">** Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">** you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">** You may obtain a copy of the License at</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">**</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">**     http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">**</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">** Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">** distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">** See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">** limitations under the License.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#ifndef BLOOMBERG_QUANTUM_ITASK_H</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#define BLOOMBERG_QUANTUM_ITASK_H</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;limits&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;quantum/quantum_traits.h&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;quantum/interface/quantum_iterminate.h&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">namespace </span><a class="code" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a> {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">namespace </span>quantum {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">//==============================================================================================</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">//                                  interface ITask</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">//==============================================================================================</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html">   32</a></span>&#160;<span class="comment"></span><span class="keyword">struct </span><a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html">ITask</a> : <span class="keyword">public</span> <a class="code" href="../../d2/d41/namespaceITerminate.html">ITerminate</a></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;{</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">   34</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">Ptr</a> = std::shared_ptr&lt;ITask&gt;;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aae43ecce0c2cdbdfa677d9d0846f1e48">   35</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aae43ecce0c2cdbdfa677d9d0846f1e48">WeakPtr</a> = std::weak_ptr&lt;ITask&gt;;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">   37</a></span>&#160;    <span class="keyword">enum class</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">Type</a> : int</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    {</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a5c80f101108a356211fcb26b3f83eabb">Standalone</a>, <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a7fb55ed0b7a30342ba6da306428cae04">First</a>, <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14af11580a0250ef12842e64f487810cc70">Continuation</a>, <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a1f7e195559ec06a7b2d22bd481043c6c">ErrorHandler</a>, <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14abeae421a14a34f831c113f61323d1ab3">Final</a>, <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a61e77370e51c7ffa489700cbd32f2ad9">Termination</a>, <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14acf3882f1c43ab22bff0bd9d82d83251b">IO</a></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    };</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0b">   42</a></span>&#160;    <span class="keyword">enum class</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0b">RetCode</a> : int</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    {</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba505a83f220c02df2f85c3810cd9ceb38">Success</a> = 0,</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba5bda814c4aedb126839228f1a3d92f09">Running</a> = std::numeric_limits&lt;int&gt;::max(),</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0bab0d4998a26f5b5742ad38c4af8817e32">Exception</a> = (int)<a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba5bda814c4aedb126839228f1a3d92f09">Running</a>-1,</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba34e84ea7adffeee28b31a3d92a5c8436">NotCallable</a> = (<span class="keywordtype">int</span>)<a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba5bda814c4aedb126839228f1a3d92f09">Running</a>-2,</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    };</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    </div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aee1b51813555c7444e451f3d5cb8111a">~ITask</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    </div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a8996616a07e7cb2e875d58735e0bed77">run</a>() = 0;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    </div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a22afcbfc617f93299eec91b1c25dfb7b">setQueueId</a>(<span class="keywordtype">int</span> queueId) = 0;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    </div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a75f6344a0b5b9a8edace7a73bd8bd878">getQueueId</a>() = 0;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    </div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">Type</a> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a83f6b10ce06794400a21503b067e1a24">getType</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    </div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a253eedcec3acde6b433d7450fb199aac">isBlocked</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    </div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a9695a227000791bcce83f63dcd843d4f">isSleeping</a>(<span class="keywordtype">bool</span> updateTimer = <span class="keyword">false</span>) = 0;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    </div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a3ceb7ba29318e456566c2ecee16332c6">isHighPriority</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;};</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a639a8b51def27ff64ee7622a39775d67">   67</a></span>&#160;<span class="keyword">using</span> <a class="code" href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a639a8b51def27ff64ee7622a39775d67">ITaskPtr</a> = <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a>;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a07a1e416f4f3ce3b8999b8690d89a6e7">   68</a></span>&#160;<span class="keyword">using</span> <a class="code" href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a07a1e416f4f3ce3b8999b8690d89a6e7">ITaskWeakPtr</a> = <a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aae43ecce0c2cdbdfa677d9d0846f1e48">ITask::WeakPtr</a>;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;}}</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#endif //BLOOMBERG_QUANTUM_ITASK_H</span></div><div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14a5c80f101108a356211fcb26b3f83eabb"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a5c80f101108a356211fcb26b3f83eabb">Bloomberg::quantum::ITask::Type::Standalone</a></div></div>
<div class="ttc" id="namespaceBloomberg_html"><div class="ttname"><a href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></div><div class="ttdef"><b>Definition:</b> quantum_buffer_impl.h:22</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14af11580a0250ef12842e64f487810cc70"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14af11580a0250ef12842e64f487810cc70">Bloomberg::quantum::ITask::Type::Continuation</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a45b23ed79b48f3120e69510692fd3c0ba5bda814c4aedb126839228f1a3d92f09"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba5bda814c4aedb126839228f1a3d92f09">Bloomberg::quantum::ITask::RetCode::Running</a></div></div>
<div class="ttc" id="namespaceITerminate_html"><div class="ttname"><a href="../../d2/d41/namespaceITerminate.html">ITerminate</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a45b23ed79b48f3120e69510692fd3c0bab0d4998a26f5b5742ad38c4af8817e32"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0bab0d4998a26f5b5742ad38c4af8817e32">Bloomberg::quantum::ITask::RetCode::Exception</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14abeae421a14a34f831c113f61323d1ab3"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14abeae421a14a34f831c113f61323d1ab3">Bloomberg::quantum::ITask::Type::Final</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">Bloomberg::quantum::ITask::Type</a></div><div class="ttdeci">Type</div><div class="ttdef"><b>Definition:</b> quantum_itask.h:37</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a45b23ed79b48f3120e69510692fd3c0ba34e84ea7adffeee28b31a3d92a5c8436"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba34e84ea7adffeee28b31a3d92a5c8436">Bloomberg::quantum::ITask::RetCode::NotCallable</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a83f6b10ce06794400a21503b067e1a24"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a83f6b10ce06794400a21503b067e1a24">Bloomberg::quantum::ITask::getType</a></div><div class="ttdeci">virtual Type getType() const =0</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a6c5b8216547b11f3f0e0e6bc7d20956d"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">Bloomberg::quantum::ITask::Ptr</a></div><div class="ttdeci">std::shared_ptr&lt; ITask &gt; Ptr</div><div class="ttdef"><b>Definition:</b> quantum_itask.h:34</div></div>
<div class="ttc" id="namespaceBloomberg_1_1quantum_html_a07a1e416f4f3ce3b8999b8690d89a6e7"><div class="ttname"><a href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a07a1e416f4f3ce3b8999b8690d89a6e7">Bloomberg::quantum::ITaskWeakPtr</a></div><div class="ttdeci">ITask::WeakPtr ITaskWeakPtr</div><div class="ttdef"><b>Definition:</b> quantum_itask.h:68</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a22afcbfc617f93299eec91b1c25dfb7b"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a22afcbfc617f93299eec91b1c25dfb7b">Bloomberg::quantum::ITask::setQueueId</a></div><div class="ttdeci">virtual void setQueueId(int queueId)=0</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14a1f7e195559ec06a7b2d22bd481043c6c"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a1f7e195559ec06a7b2d22bd481043c6c">Bloomberg::quantum::ITask::Type::ErrorHandler</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a45b23ed79b48f3120e69510692fd3c0b"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0b">Bloomberg::quantum::ITask::RetCode</a></div><div class="ttdeci">RetCode</div><div class="ttdef"><b>Definition:</b> quantum_itask.h:42</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_aae43ecce0c2cdbdfa677d9d0846f1e48"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aae43ecce0c2cdbdfa677d9d0846f1e48">Bloomberg::quantum::ITask::WeakPtr</a></div><div class="ttdeci">std::weak_ptr&lt; ITask &gt; WeakPtr</div><div class="ttdef"><b>Definition:</b> quantum_itask.h:35</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_aee1b51813555c7444e451f3d5cb8111a"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aee1b51813555c7444e451f3d5cb8111a">Bloomberg::quantum::ITask::~ITask</a></div><div class="ttdeci">~ITask()=default</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a253eedcec3acde6b433d7450fb199aac"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a253eedcec3acde6b433d7450fb199aac">Bloomberg::quantum::ITask::isBlocked</a></div><div class="ttdeci">virtual bool isBlocked() const =0</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a8996616a07e7cb2e875d58735e0bed77"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a8996616a07e7cb2e875d58735e0bed77">Bloomberg::quantum::ITask::run</a></div><div class="ttdeci">virtual int run()=0</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14acf3882f1c43ab22bff0bd9d82d83251b"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14acf3882f1c43ab22bff0bd9d82d83251b">Bloomberg::quantum::ITask::Type::IO</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a9695a227000791bcce83f63dcd843d4f"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a9695a227000791bcce83f63dcd843d4f">Bloomberg::quantum::ITask::isSleeping</a></div><div class="ttdeci">virtual bool isSleeping(bool updateTimer=false)=0</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html">Bloomberg::quantum::ITask</a></div><div class="ttdoc">Interface to a task. For internal use only.</div><div class="ttdef"><b>Definition:</b> quantum_itask.h:32</div></div>
<div class="ttc" id="namespaceBloomberg_1_1quantum_html_a639a8b51def27ff64ee7622a39775d67"><div class="ttname"><a href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a639a8b51def27ff64ee7622a39775d67">Bloomberg::quantum::ITaskPtr</a></div><div class="ttdeci">ITask::Ptr ITaskPtr</div><div class="ttdef"><b>Definition:</b> quantum_itask.h:67</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a3ceb7ba29318e456566c2ecee16332c6"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a3ceb7ba29318e456566c2ecee16332c6">Bloomberg::quantum::ITask::isHighPriority</a></div><div class="ttdeci">virtual bool isHighPriority() const =0</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a75f6344a0b5b9a8edace7a73bd8bd878"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a75f6344a0b5b9a8edace7a73bd8bd878">Bloomberg::quantum::ITask::getQueueId</a></div><div class="ttdeci">virtual int getQueueId()=0</div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_a45b23ed79b48f3120e69510692fd3c0ba505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba505a83f220c02df2f85c3810cd9ceb38">Bloomberg::quantum::ITask::RetCode::Success</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14a7fb55ed0b7a30342ba6da306428cae04"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a7fb55ed0b7a30342ba6da306428cae04">Bloomberg::quantum::ITask::Type::First</a></div></div>
<div class="ttc" id="structBloomberg_1_1quantum_1_1ITask_html_ae01baba509e1529f4f89e01d9c19fa14a61e77370e51c7ffa489700cbd32f2ad9"><div class="ttname"><a href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a61e77370e51c7ffa489700cbd32f2ad9">Bloomberg::quantum::ITask::Type::Termination</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../dir_650ee533936399e683a30afb9473a469.html">interface</a></li><li class="navelem"><b>quantum_itask.h</b></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
